package com.design.pattern.designPrinciples.simpleSegregation.simple;

/**
 * create by yufeng on 2021/7/3 11:37
 */
public class Course {

    public void study(String courseName) {
        if ("直播课".equals(courseName)) {
            System.out.println("直播课不能快进");
        }else {
            System.out.println("录播课可以反复观看");
        }
    }
}
